package com.ibeetl.cms.dao;

import java.util.List;

import com.ibeetl.cms.web.query.DoctoralSubsidyQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * DoctoralSubsidy Dao
 */
@SqlResource("cms.doctoralSubsidy")
public interface DoctoralSubsidyDao extends BaseMapper<DoctoralSubsidy>{
    public PageQuery<DoctoralSubsidy> queryByCondition(PageQuery query);
    public void batchDelDoctoralSubsidyByIds( List<Long> ids);

    public List<DoctoralSubsidy> queryCompany(DoctoralSubsidyQuery condtion);
    public PageQuery queryEmployees(PageQuery page);
    public PageQuery<DoctoralSubsidy> findenterprise(PageQuery query);
    PageQuery<DoctoralSubsidy>  queryDoneTask(PageQuery page);
    int findYear(Long userId,String year);

    int queryEmployeesCount(DoctoralSubsidyQuery condition);

    int finddoneStr(Long userId,String done);
}